
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Inspection;
import cn.edu.scau.cmi.hombio.domain.InspectionException;
import cn.edu.scau.cmi.hombio.domain.PigHouse;
import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Inspection entities
 * 
 */
public interface InspectionService {

	/**
	* Return a count of all Inspection entity
	* 
	 */
	public Integer countInspections();

	/**
	* Save an existing PigHouse entity
	* 
	 */
	public Inspection saveInspectionPigHouse(Integer id, PigHouse related_pighouse);

	/**
	* Load an existing Inspection entity
	* 
	 */
	public Set<Inspection> loadInspections();

	/**
	* Delete an existing Employee entity
	* 
	 */
	public Inspection deleteInspectionEmployee(Integer inspection_id, Integer related_employee_id);

	/**
	* Save an existing Employee entity
	* 
	 */
	public Inspection saveInspectionEmployee(Integer id_1, Employee related_employee);

	/**
	* Save an existing InspectionException entity
	* 
	 */
	public Inspection saveInspectionInspectionExceptions(Integer id_2, InspectionException related_inspectionexceptions);

	/**
	* Delete an existing Inspection entity
	* 
	 */
	public void deleteInspection(Inspection inspection);

	/**
	* Delete an existing Task entity
	* 
	 */
	public Inspection deleteInspectionTask(Integer inspection_id_1, Integer related_task_id);

	/**
	* Delete an existing PigHouse entity
	* 
	 */
	public Inspection deleteInspectionPigHouse(Integer inspection_id_2, Integer related_pighouse_id);

	/**
	 */
	public Inspection findInspectionByPrimaryKey(Integer id_3);

	/**
	* Delete an existing InspectionException entity
	* 
	 */
	public Inspection deleteInspectionInspectionExceptions(Integer inspection_id_3, Integer related_inspectionexceptions_id);

	/**
	* Save an existing Inspection entity
	* 
	 */
	public void saveInspection(Inspection inspection_1);

	/**
	* Save an existing Task entity
	* 
	 */
	public Inspection saveInspectionTask(Integer id_4, Task related_task);

	/**
	* Return all Inspection entity
	* 
	 */
	public List<Inspection> findAllInspections(Integer startResult, Integer maxRows);
}